package org.dromara.system.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.system.domain.AppWarehouse;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;


/**
 * 仓库视图对象 app_warehouse
 *
 * @author Lion Li
 * @date 2025-09-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AppWarehouse.class)
public class AppWarehouseSumVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 仓库ID
     */
    @ExcelProperty(value = "仓库ID")
    private Long id;

    /**
     * 仓库名称
     */
    @ExcelProperty(value = "仓库名称")
    private String name;

    /**
     * 合计总重量
     */
    @ExcelProperty(value = "合计总重量")
    private Long totalWeight;


    /**
     * 货物详细
     */
    private List<AppWarehouse> appWarehouse;


}
